<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>添加管理人员统计表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
	<link type="text/css" rel="stylesheet" href="<%=path%>/resources/css/info/schoolBaseInfo/schoolBaseInfo_add.css" />
	<script type="text/javascript" src="<%=path%>/resources/script/info/staffCountInfo/staffCountInfo_add.js"></script>
  </head>
  
  <body>
    <div class="easyui-layout" fit="true">
   		<div region="center" border="false">
   			<div class="comment div-right-content">
	   			（单位：人）
	   		</div>
			<form id="form" method="post">
				<input id="id" name="id" type="hidden" value="${staffCountInfo.id }" />
				<table class="edit-table center-table">
					<tr>
						<th>年度</th>
						<td colspan="13" id="td-left"><input type="text" id="year" name="year" onfocus="WdatePicker({dateFmt:'yyyy'})" style="width : 100px !important"
							class="Wdate easyui-validatebox" value="${staffCountInfo.year }"/></td>
					</tr>
					<tr>
						<th rowspan="2">职务	</th>
						<th rowspan="2">人数</th>
						<th colspan="2">性 别</th>
						<th colspan="5">专业技术职务</th>
						<th colspan="4">学历（学位）结构</th>
					</tr>
					<tr>
						<th>男</th>
						<th>女</th>
						<th>正高级</th>
						<th>副高级</th>
						<th>中级</th>
						<th>初级</th>
						<th>其它</th>
						<th>博士</th>
						<th>硕士</th>
						<th>本科/学士</th>
						<th>专科及以下</th>
					</tr>
					<tr>
						<td><label>校   级</label><input type="hidden" name="schoolLevelDetail.postKey" value="school_level"/></td>
						<td>
							<input class="small-input" type="text" name="schoolLevelDetail.sum" id="schoolLevelSum" value="${staffCountInfo.schoolLevelDetail.sum }" />
							<input type="hidden" name="schoolLevel" id="schoolLevel" value="${staffCountInfo.schoolLevel }" />
						</td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.male" id="schoolLevelDetailMale" value="${staffCountInfo.schoolLevelDetail.male }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.female" id="schoolLevelDetailFemale" value="${staffCountInfo.schoolLevelDetail.female }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.manHighLevel" id="schoolLevelDetailManHighLevel" value="${staffCountInfo.schoolLevelDetail.manHighLevel }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.deputyHighLevel" id="schoolLevelDetailDeputyHighLevel" value="${staffCountInfo.schoolLevelDetail.deputyHighLevel }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.middleLevel" id="schoolLevelDetailMiddleLevel" value="${staffCountInfo.schoolLevelDetail.middleLevel }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.primaryLevel" id="schoolLevelDetailPrimaryLevel" value="${staffCountInfo.schoolLevelDetail.primaryLevel }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.otherLevel" id="schoolLevelDetailOtherLevel" value="${staffCountInfo.schoolLevelDetail.otherLevel }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.doctor" id="schoolLevelDetailDoctor" value="${staffCountInfo.schoolLevelDetail.doctor }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.master" id="schoolLevelDetailMaster" value="${staffCountInfo.schoolLevelDetail.master }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.bachelor" id="schoolLevelDetailBachelor" value="${staffCountInfo.schoolLevelDetail.bachelor }" /></td>
						<td><input class="small-input" type="text" name="schoolLevelDetail.specialty" id="schoolLevelDetailSpecialty" value="${staffCountInfo.schoolLevelDetail.specialty }" /></td>
					</tr>
					<tr>
						<td><label>中层正职</label><input type="hidden" name="manMiddleLevelDetail.postKey" value="man_middle_level"/></td>
						<td>
							<input class="small-input" type="text" name="manMiddleLevelDetail.sum" id="manMiddleLevelDetailSum" value="${staffCountInfo.manMiddleLevelDetail.sum }" />
							<input type="hidden" name="manMiddleLevel" id="manMiddleLevel" value="${staffCountInfo.manMiddleLevel }" />
						</td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.male" id="manMiddleLevelDetailMale" value="${staffCountInfo.manMiddleLevelDetail.male }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.female" id="manMiddleLevelDetailFemale" value="${staffCountInfo.manMiddleLevelDetail.female }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.manHighLevel" id="manMiddleLevelDetailManHighLevel" value="${staffCountInfo.manMiddleLevelDetail.manHighLevel }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.deputyHighLevel" id="manMiddleLevelDetailDeputyHighLevel" value="${staffCountInfo.manMiddleLevelDetail.deputyHighLevel }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.middleLevel" id="manMiddleLevelDetailMiddleLevel" value="${staffCountInfo.manMiddleLevelDetail.middleLevel }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.primaryLevel" id="manMiddleLevelDetailPrimaryLevel" value="${staffCountInfo.manMiddleLevelDetail.primaryLevel }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.otherLevel" id="manMiddleLevelDetailOtherLevel" value="${staffCountInfo.manMiddleLevelDetail.otherLevel }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.doctor" id="manMiddleLevelDetailDoctor" value="${staffCountInfo.manMiddleLevelDetail.doctor }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.master" id="manMiddleLevelDetailMaster" value="${staffCountInfo.manMiddleLevelDetail.master }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.bachelor" id="manMiddleLevelDetailBachelor" value="${staffCountInfo.manMiddleLevelDetail.bachelor }" /></td>
						<td><input class="small-input" type="text" name="manMiddleLevelDetail.specialty" id="manMiddleLevelDetailSpecialty" value="${staffCountInfo.manMiddleLevelDetail.specialty }" /></td>
					</tr>
					<tr>
						<td><label>中层副职</label><input type="hidden" name="deputyMiddleLevelDetail.postKey" value="deputy_middle_level"/></td>
						<td>
							<input class="small-input" type="text" name="deputyMiddleLevelDetail.sum" id="deputyMiddleLevelDetailSum" value="${staffCountInfo.deputyMiddleLevelDetail.sum }" />
							<input type="hidden" name="deputyMiddleLevel" id="deputyMiddleLevel" value="${staffCountInfo.deputyMiddleLevel }" />
						</td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.male" id="deputyMiddleLevelDetailMale" value="${staffCountInfo.deputyMiddleLevelDetail.male }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.female" id="deputyMiddleLevelDetailFemale" value="${staffCountInfo.deputyMiddleLevelDetail.female }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.manHighLevel" id="deputyMiddleLevelDetailManHighLevel" value="${staffCountInfo.deputyMiddleLevelDetail.manHighLevel }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.deputyHighLevel" id="deputyMiddleLevelDetailDeputyHighLevel" value="${staffCountInfo.deputyMiddleLevelDetail.deputyHighLevel }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.middleLevel" id="deputyMiddleLevelDetailMiddleLevel" value="${staffCountInfo.deputyMiddleLevelDetail.middleLevel }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.primaryLevel" id="deputyMiddleLevelDetailPrimaryLevel" value="${staffCountInfo.deputyMiddleLevelDetail.primaryLevel }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.otherLevel" id="deputyMiddleLevelDetailOtherLevel" value="${staffCountInfo.deputyMiddleLevelDetail.otherLevel }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.doctor" id="deputyMiddleLevelDetailDoctor" value="${staffCountInfo.deputyMiddleLevelDetail.doctor }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.master" id="deputyMiddleLevelDetailMaster" value="${staffCountInfo.deputyMiddleLevelDetail.master }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.bachelor" id="deputyMiddleLevelDetailBachelor" value="${staffCountInfo.deputyMiddleLevelDetail.bachelor }" /></td>
						<td><input class="small-input" type="text" name="deputyMiddleLevelDetail.specialty" id="deputyMiddleLevelDetailSpecialty" value="${staffCountInfo.deputyMiddleLevelDetail.specialty }" /></td>
					</tr>
					<tr>
						<td><label>一般管理人员</label><input type="hidden" name="generalManagerDetail.postKey" value="general_manager"/></td>
						<td>
							<input class="small-input" type="text" name="generalManagerDetail.sum" id="generalManagerDetailSum" value="${staffCountInfo.generalManagerDetail.sum }"/>
							<input type="hidden" name="generalManager" id="generalManager" value="${staffCountInfo.generalManager }" />
						</td>
						<td><input class="small-input" type="text" name="generalManagerDetail.male" id="generalManagerDetailMale" value="${staffCountInfo.generalManagerDetail.male }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.female" id="generalManagerDetailFemale" value="${staffCountInfo.generalManagerDetail.female }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.manHighLevel" id="generalManagerDetailManHighLevel" value="${staffCountInfo.generalManagerDetail.manHighLevel }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.deputyHighLevel" id="generalManagerDetailDeputyHighLevel" value="${staffCountInfo.generalManagerDetail.deputyHighLevel }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.middleLevel" id="generalManagerDetailMiddleLevel" value="${staffCountInfo.generalManagerDetail.middleLevel }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.primaryLevel" id="generalManagerDetailPrimaryLevel" value="${staffCountInfo.generalManagerDetail.primaryLevel }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.otherLevel" id="generalManagerDetailOtherLevel" value="${staffCountInfo.generalManagerDetail.otherLevel }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.doctor" id="generalManagerDetailDoctor" value="${staffCountInfo.generalManagerDetail.doctor }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.master" id="generalManagerDetailMaster " value="${staffCountInfo.generalManagerDetail.master }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.bachelor" id="generalManagerDetailBachelor" value="${staffCountInfo.generalManagerDetail.bachelor }"/></td>
						<td><input class="small-input" type="text" name="generalManagerDetail.specialty" id="generalManagerDetailSpecialty" value="${staffCountInfo.generalManagerDetail.specialty }"/></td>
					</tr>
					<tr>
						<td><label>专职辅导员</label><input type="hidden" name="counselorDetail.postKey" value="counselor"/></td>
						<td>
							<input class="small-input" type="text" name="counselorDetail.sum" id="counselorDetailSum" value="${staffCountInfo.counselorDetail.sum }" />
							<input type="hidden" name="counselor" id="counselor" value="${staffCountInfo.counselor }" />
						</td>
						<td><input class="small-input" type="text" name="counselorDetail.male" id="counselorDetailMale" value="${staffCountInfo.counselorDetail.male }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.female" id="counselorDetailFemale" value="${staffCountInfo.counselorDetail.female }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.manHighLevel" id="counselorDetailManHighLevel" value="${staffCountInfo.counselorDetail.manHighLevel }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.deputyHighLevel" id="counselorDetailDeputyHighLevel" value="${staffCountInfo.counselorDetail.deputyHighLevel }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.middleLevel" id="counselorDetailMiddleLevel" value="${staffCountInfo.counselorDetail.middleLevel }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.primaryLevel" id="counselorDetailPrimaryLevel" value="${staffCountInfo.counselorDetail.primaryLevel }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.otherLevel" id="counselorDetailOtherLevel" value="${staffCountInfo.counselorDetail.otherLevel }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.doctor" id="counselorDetailDoctor" value="${staffCountInfo.counselorDetail.doctor }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.master" id="counselorDetailMaster" value="${staffCountInfo.counselorDetail.master }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.bachelor" id="counselorDetailBachelor" value="${staffCountInfo.counselorDetail.bachelor }" /></td>
						<td><input class="small-input" type="text" name="counselorDetail.specialty" id="counselorDetailSpecialty" value="${staffCountInfo.counselorDetail.specialty }" /></td>
					</tr>
					<tr>
						<td><label>合计</label></td>
						<td><input class="small-input" type="text" name="total" id="total" value="${staffCountInfo.total }" /></td>
						<td><label id="total1"></label></td>
						<td><label id="total2"></label></td>
						<td><label id="total3"></label></td>
						<td><label id="total4"></label></td>
						<td><label id="total5"></label></td>
						<td><label id="total6"></label></td>
						<td><label id="total7"></label></td>
						<td><label id="total8"></label></td>
						<td><label id="total9"></label></td>
						<td><label id="total10"></label></td>
						<td><label id="total11"></label></td>
					</tr>
				</table>
			</form>
   		</div>
   		<div region="south" border="false" style="text-align: right; height: 35px; line-height: 8px; padding:5px 5px 0 0;">
   			<a id="btnSave" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0);">确定</a>
   			<a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0);">取消</a>
   		</div>
   	</div>
  </body>
</html>
